package bdhub.littletail.app.config;

public class JSONConfig {
	//== common ==
	public static final String RESULT = "result";
	public static final String REASON = "reason";
	public static final String COMMON_URL = "url";
	
	
	//== socket ==
	public static final String SOCKET_IP = "ip";
	public static final String SOCKET_PORT = "port";
	
	//== account ==
	public static final String ACCOUNT_USERNAME = "nickname";
	public static final String ACCOUNT_UID = "uid";
	public static final String ACCOUNT_PHONE_NUMBER = "phone_number";
	public static final String ACCOUNT_PASSWORD = "pwd";
	
	/**
	 * 登录类型type（1手机，2微信code,3微信token,4微博code，5微博token，6手机token登录，7qq code，8qq token）
	 */
	public static final String LOGIN_TYPE = "type";

	public static final int LOGIN_TYPE_WEIXIN_CODE = 2;
	public static final int LOGIN_TYPE_WEIXIN_TOKEN = 3;
	//public static final int LOGIN_TYPE_WEIBO_CODE = 4;
	public static final int LOGIN_TYPE_WEIBO_TOKEN = 5;
	public static final int LOGIN_TYPE_PHONE_TOKEN = 6;
	public static final int LOGIN_TYPE_QQ_CODE = 7;
	public static final int LOGIN_TYPE_QQ_TOKEN = 8;
	public static final String LOGIN_PHONE_NUMBER = "phone_number";
	public static final String LOGIN_PASSWORD = "pwd";
	public static final String LOGIN_AVATAR = "headimgurl";
	public static final String LOGIN_CLIENT_ID = "client_id";
	public static final String LOGIN_CODE = "code";
	public static final String LOGIN_TOKEN = "token";
	public static final String LOGIN_SNS_ACCESS_TOKEN = "access_token";
	public static final String LOGIN_SNS_REFRESH_TOKEN = "refresh_token";
	public static final String LOGIN_WEIBO_ID = "id";
	public static final String LOGIN_WEIXIN_ID = "openid";
	public static final String LOGIN_QQ_ID = "openid";
	public static final String LOGIN_WEIXIN_INFO = "weixin_info";
	public static final String LOGIN_WEIBO_INFO = "weibo_info";
	public static final String LOGIN_QQ_INFO = "qq_info";
	public static final String LOGIN_PHONE_NUMBER_INFO = "phone_number_info";
}
